/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package experimental.com.rhythm.commons.validation.bean.annotation;

import experimental.com.rhythm.commons.validation.bean.*;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 *
 * @author Michael J. Lee
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
@Constraint(validatedBy=NotEmptyConstraintValidator.class)
public @interface NotEmpty {

    String message() default "field cannot be empty";
}
